execute if entity @n[type=villager, distance=..1.5] run tag @n[type=villager] add faqv.villager_memory_wiper.target
execute if entity @n[type=villager, distance=..1.5] run return 0
execute if entity @s[distance=6..] run return 1
execute positioned ^ ^ ^0.1 run function faqv:villager_memory_wiper/select_target
